﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace ForzaGT3.Areas.Admin.Models
{
    public class CircuitModel
    {
        public Guid Id { get; set; }

        [Display(Name = "Country")]
        [Required(ErrorMessage = "Country Is Required")]
        public Guid CountryId { get; set; }

        [Display(Name = "Name")]
        [Required(ErrorMessage = "Name Is Required")]
        public string Name { get; set; }

        [AllowHtml]
        public string CircuitInfo { get; set; }

        public string Latitude { get; set; }

        public string Longitude { get; set; }

        public string ImageUrl { get; set; }

        [Display(Name = "Image")]
        public HttpPostedFileBase Image { get; set; }

    }
}